package com.xxx.serviceImpl;

import com.alibaba.dubbo.config.annotation.Service;
import com.xxx.api.HelloService;

/**
 * dubbo②：rpc接口实现类
 */
@Service
public class HelloServiceImpl implements HelloService {

    @Override
    public String sayHello(String name) {
        System.out.println("enter method sayHello(). name:"+name);
        return "Hello, " + name;
    }

}
